package 组合模式;

public class Pear extends MyElement{

    @Override
    public void eat() {
        System.out.println("吃梨子");
    }
}
